package name.bingo.RedPacketTest;
/**
 * create by yanbing on 2018/11/8 15:46
 */

import name.bingo.bing.pay.utils.IdGen;
import name.bingo.utils.SimpleHttpUtils;
import net.sf.json.JSONObject;
import org.apache.commons.lang.math.RandomUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @param:
 * @return:
 * @auther: yanbing
 * @date: 2018/11/8 15:46
 **/
public class MainTest {
    public  static Logger logger=LoggerFactory.getLogger(MainTest.class);
    public static void main(String[] args) {
        int packetId=1;
        String data="http://127.0.0.1:8080/red/packet/grap?redPacketId="+packetId+"&customerId=";
        for(int i=0;i<3000;i++){
            new GrapRedPacketThread(data + i).start();
        }

    }

}
